﻿using System.ComponentModel.DataAnnotations;
using EPiServer.Core;
using EPiServer.DataAnnotations;

namespace StarterKit.Web.Models.Pages
{
    [ContentType(
        DisplayName = "Warehouses Page",
        Description = "The warehouse page.",
        GroupName = "Commerce",
        Order = 200)]
    public class WarehousesPageData : BasePageData
    {
        [Required]
        [Searchable(false)]
        [BackingType(typeof(PropertyString))]
        [Display(  Name = "PageTitle",
                   Description = "PageTitle",
                   Order = 1)]
        public virtual string PageTitle { get; set; }

        [Searchable(false)]
        [Display(  Name = "PageSubHeader",
                   Description = "PageSubHeader",
                   Order = 2)]
        public virtual XhtmlString PageSubHeader { get; set; } 
         
        [Searchable(false)]
        [Display(  Name = "BodyMarkup",
                   Description = "BodyMarkup",
                   Order = 3)]
        public virtual XhtmlString BodyMarkup { get; set; } 
    }
}